#ifndef SELESCTION_H
#define SELESCTION_H
#include <SFML/Graphics.hpp>
#include <vector>
#include <SFML/Audio.hpp>




class Selection
{
public:
	Selection(sf::RenderWindow &window);
	~Selection();
	void displaySelection(sf::Clock clock);
	void Selection::initSelection();
	void Selection::playAudio();
	void Selection::playAudioSelection();
	void Selection::closeWindow();
	void Selection::stopAudio();
	void Selection::setC1(bool b);
	void Selection::setC2(bool b);
	void Selection::setM1(bool b);
	void Selection::setM2(bool b);
	void Selection::selectionReset();





private:
	sf::RenderWindow &myWindow;
	sf::Text clavier1;
	sf::Text clavier2;
	sf::Text manette1;
	sf::Text manette2;
	sf::Text myTime;
	sf::Text myTitle;
	sf::Sprite mySkullSprite;
	sf::Font font;
	sf::Texture skullTexture;
	sf::Texture backgroundSelectionText;
	sf::Sprite backgroundSelectionSprite;
	sf::SoundBuffer bufferBackground;
	sf::Sound soundBackground;

	sf::SoundBuffer bufferSelector;
	sf::Sound soundSelector;
	bool c1;
	bool c2;
	bool m1;
	bool m2;





};

#endif